package cn.edu.zut.hhr.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author hhr
 * @since 2021-06-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Order extends Base {

    private static final long serialVersionUID = 1L;

    /**
     * 购买者id

     */
    private Long customerid;

    private Long staffid;

    private String customerName;

    private String staffName;

    @TableField(exist = false)
    private List<OrderInfo> orderInfos = new ArrayList<>();


}
